package com.imeem.api.results;

public class ResultStatus
{
   private int _statusCode;
   private String _description;
   private String _details;
   
   public ResultStatus(int statusCode, String description, String details)
   {
      _statusCode = statusCode;
      _description = description;
      _details = details;
   }
   
   public ResultStatus()
   {
      this(-1, null, null);
   }
   
   public boolean getSuccess() { return 0 == _statusCode; }
   public int getStatusCode() { return _statusCode; }
   public void setStatusCode(int code) { _statusCode = code; }
   
   public String getDescription() { return _description; }
   public void setDescription(String description) { _description = description; }
   
   public String getDetails() { return _details; }
   public void setDetails(String details) { _details = details; }
}   
